package com.spdg.ring.bo;

import android.app.Activity;
import cn.wolf.base.BaseBo;
import cn.wolf.http.BaseResp;
import cn.wolf.http.HttpCallBack;
import cn.wolf.tools.Log;

import com.spdg.ring.task.RecordChannelTask;

/**
 * <p>Title: 注册信息逻辑     </p>
 * <p>Description: 
 * This is a change object in SysLog
 * </p>
 * <p>@author: Eric.wsd                </p>
 * <p>Copyright: Copyright (c) 2012    </p>
 * <p>Company: HX Co., Ltd.          </p>
 * <p>Create Time: 2012-11-15             </p>
 * <p>Update Time:                     </p>
 * <p>Updater:                         </p>
 * <p>Update Comments:                 </p>
 */
public class RecordBo extends BaseBo implements HttpCallBack<BaseResp> {

	public RecordBo(Activity activity) {
		super(activity);
	}

	public void record() {
		RecordChannelTask task = new RecordChannelTask(this, mActivity);
		task.execute();
	}

	@Override
	public void call(BaseResp response) {
		if (response.isSuccess()) {
			Log.i("Record channel successfully!");
		}
	}

	@Override
	public void progress(Object... obj) {
	}

	@Override
	public void onNetWorkError() {

	}

}
